package com.zh.rocketmq.mqmsg;

import lombok.Data;

import java.io.Serializable;

/**
 * @author ZH
 * @date 16:19 2022/1/12
 */
@Data
public class MqMsg implements Serializable {
    private String id;
    private String content;
    private Integer seq = 0; //序号

    public MqMsg(){
    }
    public MqMsg(String id, String content, int seq) {
        this.id = id;
        this.content = content;
        this.seq = seq;
    }

}
